#define _CRT_SECURE_NO_WARNINGS
#include"SqList.h"

int main() {
    SeqList list;
    initList(&list);

    insertList(&list, 0, 10);
    insertList(&list, 1, 20);
    insertList(&list, 2, 30);

    printf("List length: %d\n", getLength(&list));
    printf("Element at position 1: %d\n", getElem(&list, 1));

    deleteList(&list, 1);

    printf("List length after deletion: %d\n", getLength(&list));
    printf("Element at position 1 after deletion: %d\n", getElem(&list, 1));

    return 0;
}